$OpenBSD: patch-PolkitQt-1Config_cmake_in,v 1.1.1.1 2016/01/03 16:42:15 zhuk Exp $
--- PolkitQt-1Config.cmake.in.orig	Thu Jul 10 10:37:25 2014
+++ PolkitQt-1Config.cmake.in	Sat Aug 30 10:51:42 2014
@@ -42,9 +42,9 @@ elseif(APPLE)
   set(POLKITQT-1_AGENT_LIBRARY        "${POLKITQT-1_LIB_DIR}/lib@POLKITQT-1_AGENT_PCNAME@.dylib")
   set(POLKITQT-1_GUI_LIBRARY          "${POLKITQT-1_LIB_DIR}/lib@POLKITQT-1_GUI_PCNAME@.dylib")
 else()
-  set(POLKITQT-1_CORE_LIBRARY         "${POLKITQT-1_LIB_DIR}/lib@POLKITQT-1_CORE_PCNAME@.so")
-  set(POLKITQT-1_AGENT_LIBRARY        "${POLKITQT-1_LIB_DIR}/lib@POLKITQT-1_AGENT_PCNAME@.so")
-  set(POLKITQT-1_GUI_LIBRARY          "${POLKITQT-1_LIB_DIR}/lib@POLKITQT-1_GUI_PCNAME@.so")
+  set(POLKITQT-1_CORE_LIBRARY         "${POLKITQT-1_LIB_DIR}/lib@POLKITQT-1_CORE_PCNAME@.so.${LIBpolkit-qt-core-1_VERSION}")
+  set(POLKITQT-1_AGENT_LIBRARY        "${POLKITQT-1_LIB_DIR}/lib@POLKITQT-1_AGENT_PCNAME@.so.${LIBpolkit-qt-agent-1_VERSION}")
+  set(POLKITQT-1_GUI_LIBRARY          "${POLKITQT-1_LIB_DIR}/lib@POLKITQT-1_GUI_PCNAME@.so.${LIBpolkit-qt-gui-1_VERSION}")
 endif()
 
 ########## The PolkitQt-1 libraries ##########
